<template>
	<view  class="bg-white u-margin-left-30 u-margin-right-30 u-margin-bottom-30 u-padding-30 u-border-radius-10">
		<view class="area-bg u-color-333333">
			<u-icon :label="information.type_desc||''" size="30" name="tags-fill" color="#66a6ff" label-color="#66a6ff"></u-icon>
			<view  v-if="information.type == 1" :class="{'u-margin-top-25':information.type_desc}">
				<view>
					<text class="bold">产品名称：</text>
					<text class="u-font-weight-500">{{information.product_name||''}}</text>
				</view>
				<view class="u-margin-top-15">
					<text class="bold">产品月息：</text>
					<text class="u-font-weight-500">{{information.interests||''}}</text>
				</view>
				<view class="u-margin-top-15">
					<text class="bold">产品额度：</text>
					<text class="u-font-weight-500">{{information.quota||0}}万</text>
				</view>
				<view v-if="information.describe">
					<view class="bold u-margin-top-15">
						产品优势描述
					</view>
					<view class="nr u-margin-top-15">
						{{information.describe||''}}
					</view>
				</view>
			</view>
			<view v-if="information.demand" class="u-margin-top-15">
				<view class="bold" >
					合作需求
				</view>
				<view class="nr u-margin-top-15">
					{{information.demand||''}}
				</view>
			</view>
			
		</view>
		<view class="u-flex u-color-666666 xs u-margin-top-25 u-padding-bottom-25">
			<view class="u-flex-1">{{information.create_time}}</view>
			<u-icon :label="information.look_count" name="eye" size="24" label-size="24" class="u-padding-right-30"></u-icon>
			<like :isSelect="information.is_like" :likeCount="information.like_count" :articleType="2" :articleId="information.id"></like>
		</view>
	</view>
</template>

<script>
	import like from '@/yixu/pages/network_square/components/like.vue'
	export default {
		components:{
			like
		},
		props:{
			information:{
				default:()=>{}
			}
		}
	}
</script>

<style>
</style>